<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/page/public/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>报销详情</title>
<% request.setAttribute("menu", 1); %>
<%@ include file="/WEB-INF/page/public/contentmeta.jsp"%>
<link rel="stylesheet" href="<%=basePath%>css/global.css" media="all" />
<link rel="stylesheet" href="<%=basePath%>plugins/font-awesome/css/font-awesome.min.css"/>
<link rel="stylesheet" href="<%=basePath%>css/system.css" media="all"/>
<link rel="stylesheet" href="<%=basePath%>css/tab.css" media="all" />
<style type="text/css">
	
.ye-pay-bg{background:url(../images/sprite1.png);background-position:168px 168px}
.ye-pay-bgone{background:url(../images/sprite1.png);background-position:168px 128px}
.ye-pay-bgtwo{background:url(../images/sprite1.png);background-position:175px 83px}
</style>

</head>
<body>

	<div id="TM-layui-hetong" >
		<div class="TM-he-tong admin-entering">
			<form class="layui-form TM-entering-form" action="" id="enterform" novalidate="novalidate">
				 <c:set var="vEnter" value="\n" scope="request" />
						<%
							request.setAttribute("vEnter", "\n");
						%>
					<div class="layui-form-item">
						<label class="layui-form-label">报销人 : </label>
						<div class="layui-input-block">${paidinfo.name}</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">报销日期 : </label>
						<div class="layui-input-block">${paidinfo.createdate.substring(0,10)}</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">报销总金额 : </label>
						<div class="layui-input-block">${paidinfo.money}</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">报销明细 : </label>
						<div class="layui-input-block">${fn:replace(paidinfo.remark, vEnter, '<br />')}</div>
					</div>
					
		 
				 
				<div class="layui-form-item TM-hetong-zhengshu">
					<label class="layui-form-label"> </label>
					 
				</div>
				 
				<div class="entering" style="width:75%;margin-left:100px;">
					<h4>审批记录</h4>
					<table class="site-table table-hover">
						<thead>
							<tr>
								<th style="width:182px;">审批人</th>
								<th style="width:182px;">审批意见</th>
								<th style="width:182px;">审批时间</th>
								<th style="width:170px;">审批状态</th>
							</tr>
						</thead>
						<tbody class="tb_customercontacts">
							<c:forEach var="au" items="${paidinfo.approveUsers}">
								<tr>
									<td>${au.createuserName}</td>
									<td>${au.opinion}</td>
									<td><c:if test="${au.state>1}">${au.updatedate.substring(0,16)}</c:if></td>
									<td class="
										<c:if test="${au.state==0||au.state==1}">ye-pay-bgtwo</c:if>
										<c:if test="${au.state==2}">ye-pay-bg</c:if>
										<c:if test="${au.state==3}">ye-pay-bgone</c:if>
										">
									</td>
								</tr>
							</c:forEach>
						</tbody>
					</table>
				</div>
			</form>
		</div>
	</div>


</body>
</html>